<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Insert title here</title>
</head>
<body>
	<table>
		<tbody>
			<tr>
				<th>图片</th>
				<th>商品</th>
				<th>价格</th>
				<th>数量</th>
				<th>小计</th>
			</tr>
			<c:forEach items="${order.orderItems}" var="orderItem">
				<tr>
					<td width="60"><img
						src="${ pageContext.request.contextPath }/${ orderItem.product.image}" />
					</td>
					<td><a target="_blank">${orderItem.product.pname}</a></td>
					<td>${orderItem.product.shopPrice}</td>
					<td class="quantity" width="60">${orderItem.count}</td>
					<td width="140"><span class="subtotal">￥${orderItem.subtotal}</span>
					</td>
				</tr>
			</c:forEach>
		</tbody>
	</table>
</body>
</html>